/*
 * $Id: IPerforceCommand.java 23 2002-09-29 13:59:30Z bpruessmann $
 *
 * Copyright (c) 2001 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 */
package net.sourceforge.p4eclipse.core.api;

import org.eclipse.core.runtime.IStatus;

/**
  * This interface is used to pass information to IClient.run(IPerforceCommand)
  * which replaces IClient.run(String, IClientUser).
  * 
  * @version 	$Revision: 23 $
  * @author		<a href="mailto:bpruessmann@users.sourceforge.net">Boris Pruessmann</a>
  */
public interface IPerforceCommand extends IClientUser
{
	/**
	  * Returns the command to execute.
	  */
	public String getCommand();
	
	/**
	  * Returns the Status of the operation.
	  */
	public IStatus getStatus();
	
	/**
	  * Should this command be hidden from console output?
	  */
	public boolean isHidingFromConsole();
}
